package cn.edu.seig.textbook.service;

import cn.edu.seig.textbook.domain.pojo.Textbooks;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author day
 * @since 2024-11-07
 */
public interface ITextbooksService extends IService<Textbooks> {
    List<Textbooks> getAllTestbooks();
    Textbooks getTextbookById(int textbookId);
    List<Textbooks> getTextbooksByCourseName(String courseName);
    boolean addTextbook(Textbooks textbook);
    void deleteTextbook(int textbookId);
    List<Textbooks> getTextbooksByBookName(String bookName);
}
